home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 4 / MacMania 4.toast / / Internet software / TableWorks 1.0 / Tutorial Folder / Merge Cells bad example < prev    next >
Encoding:
Text File  |  1996-05-12  |  1.7 KB  |  56 lines  |  [TEXT/TBLC]

  1. <!--TBLC-->
  2. <HTML>
  3. <HEAD>
  4. <TITLE></TITLE>
  5. </HEAD>
  6. <BODY>
  7.  
  8. <CENTER>
  9. <TABLE>
  10. <TR>
  11. <TD WIDTH=397 HEIGHT=40 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>The following table shows the bad use of the Merge Cells command.<BR> The problem is that since the first and the last cells span over<BR>2 columns the second column is now unreachable.</TD>
  12. </TR>
  13. </TABLE>
  14. </CENTER>
  15.  
  16. <CENTER>
  17. <TABLE BORDER=6 CELLSPACING=6>
  18. <TR>
  19. <TD HEIGHT=33 COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>This cell spans<BR> over 2 columns</TD>
  20. <TD WIDTH=132 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>some text</TD>
  21. </TR>
  22. <TR>
  23. <TD WIDTH=132 HEIGHT=33 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>some text</TD>
  24. <TD COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>This cell spans<BR>over 2 columns</TD>
  25. </TR>
  26. </TABLE>
  27. </CENTER>
  28.  
  29. <CENTER>
  30. <BR><TABLE>
  31. <TR>
  32. <TD WIDTH=397 HEIGHT=28 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>The following table does not have the above problem because a cell<BR>exists in the second column which determine the width of that column.</TD>
  33. </TR>
  34. </TABLE>
  35. </CENTER>
  36.  
  37. <CENTER>
  38. <TABLE BORDER=6 CELLSPACING=6>
  39. <TR>
  40. <TD HEIGHT=28 COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>This cell spans<BR> over 2 columns</TD>
  41. <TD WIDTH=128 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>some text</TD>
  42. </TR>
  43. <TR>
  44. <TD WIDTH=128 HEIGHT=28 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>some text</TD>
  45. <TD COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>This cell spans<BR>over 2 columns</TD>
  46. </TR>
  47. <TR>
  48. <TD HEIGHT=22 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>some text</TD>
  49. <TD WIDTH=111 ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT><FONT COLOR=#FB0414><B>Cell in column 2</B></FONT COLOR></TD>
  50. <TD ALIGN=CENTER VALIGN=MIDDLE CELLTYPE=TEXT>some text</TD>
  51. </TR>
  52. </TABLE>
  53. </CENTER>
  54. </BODY>
  55. </HTML>
  56.